[INFO] cloning repository https://github.com/pedrodesu/risky
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pedrodesu/risky" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrodesu%2Frisky", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrodesu%2Frisky'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9c18be0f860942dfdddf9bc9e706ed7c2f19715a
[INFO] fixing pedrodesu/risky against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrodesu%2Frisky" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml
[INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/pedrodesu/risky
[INFO] finished tweaking git repo https://github.com/pedrodesu/risky
[INFO] tweaked toml for git repo https://github.com/pedrodesu/risky written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pedrodesu/risky on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/pedrodesu/risky already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded owo-colors v4.2.3
[INFO] [stderr]   Downloaded fdt v0.1.5
[INFO] [stderr]   Downloaded spin v0.10.0
[INFO] [stderr]   Downloaded talc v4.4.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4ec53abf5f632738eddc993ac7d096f3072998dfeea03a3eafe9d3c313ed0d84
[INFO] running `Command { std: "docker" "start" "4ec53abf5f632738eddc993ac7d096f3072998dfeea03a3eafe9d3c313ed0d84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4ec53abf5f632738eddc993ac7d096f3072998dfeea03a3eafe9d3c313ed0d84" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4ec53abf5f632738eddc993ac7d096f3072998dfeea03a3eafe9d3c313ed0d84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4ec53abf5f632738eddc993ac7d096f3072998dfeea03a3eafe9d3c313ed0d84" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]    Compiling owo-colors v4.2.3
[INFO] [stderr]     Checking fdt v0.1.5
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]     Checking spin v0.10.0
[INFO] [stderr]     Checking talc v4.4.3
[INFO] [stderr]     Checking risky v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find function `now_ticks` in module `timer`
[INFO] [stdout]   --> src/task/api.rs:20:27
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let deadline = timer::now_ticks().wrapping_add(timer::ticks_from_ms(ms));
[INFO] [stdout]    |                           ^^^^^^^^^ not found in `timer`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/platform/timer.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[cfg(target_arch = "riscv64")]
[INFO] [stdout]    |       ----------------------- the item is gated behind the `riscv64` feature
[INFO] [stdout] 18 | #[inline]
[INFO] [stdout] 19 | pub fn now_ticks() -> u64
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/platform/timer.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | #[cfg(target_arch = "riscv32")]
[INFO] [stdout]    |       ----------------------- the item is gated behind the `riscv32` feature
[INFO] [stdout] 25 | pub fn now_ticks() -> u64
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now_ticks` in module `timer`
[INFO] [stdout]   --> src/task/sleep.rs:38:22
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let now = timer::now_ticks();
[INFO] [stdout]    |                      ^^^^^^^^^ not found in `timer`
[INFO] [stdout]    |
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/platform/timer.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | #[cfg(target_arch = "riscv64")]
[INFO] [stdout]    |       ----------------------- the item is gated behind the `riscv64` feature
[INFO] [stdout] 18 | #[inline]
[INFO] [stdout] 19 | pub fn now_ticks() -> u64
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] note: found an item that was configured out
[INFO] [stdout]   --> src/platform/timer.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | #[cfg(target_arch = "riscv32")]
[INFO] [stdout]    |       ----------------------- the item is gated behind the `riscv32` feature
[INFO] [stdout] 25 | pub fn now_ticks() -> u64
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `global_asm`
[INFO] [stdout]  --> src/interrupt.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | use core::arch::{asm, global_asm};
[INFO] [stdout]   |                       ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a0`: unknown register
[INFO] [stdout]   --> src/arch/ecall.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |             inlateout("a0") arg0 => ret0,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a1`: unknown register
[INFO] [stdout]   --> src/arch/ecall.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |             inlateout("a1") arg1 => ret1,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a2`: unknown register
[INFO] [stdout]   --> src/arch/ecall.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |             in("a2") arg2,
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a6`: unknown register
[INFO] [stdout]   --> src/arch/ecall.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |             in("a6") fid,
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `a7`: unknown register
[INFO] [stdout]   --> src/arch/ecall.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             in("a7") ext,
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `result_option_map_or_default` has been stable since 1.98.0-nightly and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | #![feature(result_option_map_or_default)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: formatting may not be suitable for sub-register argument
[INFO] [stdout]    --> src/csr.rs:33:50
[INFO] [stdout]     |
[INFO] [stdout]  33 |        ($csr:expr, $mask:expr) => (core::arch::asm!(concat!("csrrs x0, ", $csr, ", {0}"), in(reg) $mask));
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/interrupt.rs:196:9
[INFO] [stdout]     |
[INFO] [stdout] 196 | /          csr_set!(
[INFO] [stdout] 197 | |              "sie",
[INFO] [stdout] 198 | |/             1 << cause::interrupts::SUPERVISOR_TIMER_INTERRUPT
[INFO] [stdout] 199 | ||                 | 1 << cause::interrupts::SUPERVISOR_SOFTWARE_INTERRUPT
[INFO] [stdout]     | ||_______________________________________________________________________- for this argument
[INFO] [stdout] 200 | |          )
[INFO] [stdout]     | |__________- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = help: use `{0:e}` to have the register formatted as `eax` (for 32-bit values)
[INFO] [stdout]     = help: or use `{0:r}` to keep the default formatting of `rax` (for 64-bit values)
[INFO] [stdout]     = note: `#[warn(asm_sub_register)]` on by default
[INFO] [stdout]     = note: this warning originates in the macro `csr_set` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now_ticks` in this scope
[INFO] [stdout]   --> src/platform/timer.rs:58:15
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let now = now_ticks();
[INFO] [stdout]    |               ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout]   --> src/platform/sbi.rs:49:18
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn set_timer(time: u64)
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `risky` (lib) due to 8 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "4ec53abf5f632738eddc993ac7d096f3072998dfeea03a3eafe9d3c313ed0d84", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ec53abf5f632738eddc993ac7d096f3072998dfeea03a3eafe9d3c313ed0d84", kill_on_drop: false }`
[INFO] [stdout] 4ec53abf5f632738eddc993ac7d096f3072998dfeea03a3eafe9d3c313ed0d84
